﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;

namespace Meraz.Core.Net
{
    public class ContactMe: MailInfo
    {
        public ContactMe(string to, string from, string message)
        {
            Message = new MailMessage();
            Message.Subject = string.Format(Resources.Mail.ContactMeFrom, from);
            Message.To.Add(new MailAddress(to));
            Message.ReplyToList.Add(new MailAddress(from));
            Message.IsBodyHtml = false;
            Message.Body = message;
        }
    }
}
